#ifndef OWL_COST_LAYER_H_
#define OWL_COST_LAYER_H_
#include "layer.h"
#include "network.h"

typedef Layer CostLayer;

CostLayer MakeCostLayer(int batch, int inputs, int type, Float scale);
void ForwardCostLayer(const CostLayer layer, NetworkState state);
void BackwardCostLayer(const CostLayer layer, NetworkState state);
void ResizeCostLayer(CostLayer *layer, int inputs);

#endif //OWL_COST_LAYER_H_
